package top.eggcode.modules.user.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import top.eggcode.base.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Title: 部门
 * Description: TODO
 * Date: 2021/4/7 17:10
 *
 * @author JiaQi Ding
 * @version 1.0
 */
@ApiModel("部门")
@Data
@Table(name = "auth_dept")
@Entity
public class DeptEntity extends BaseEntity {

    @ApiModelProperty("上级id")
    private String parentId;

    @ApiModelProperty("名称")
    private String name;

}
